a = float(input())
b = float(input())
print(f'{a} + {b} = {a+b:.3f}')
print(f'{a} - {b} = {a-b:.3f}')
print(f'{a} * {b} = {a*b:.3f}')
print(f'{a} / {b} = {a/b:.3f}')